package com.qa.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 题目分类表
 * @author 徐
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QuestionCategory {
    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 题目id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;
    /**
     * 分类id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long categoryId;
    /**
     * 状态（题目是否仍属于该分类）
     */
    private Integer status;
}
